// app版本
const {DataTypes, db } = require("../db");
db.define('ver', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
ver:{type: DataTypes.STRING(22),comment:'当前版本'}, 
msg:{type: DataTypes.STRING(255),comment:'更新说明'}, 
needLogin:{type: DataTypes.INTEGER,defaultValue:0,comment:'更新后需要重新登录'}, 
ter:{type: DataTypes.STRING(255),comment:''},
bak2:{type: DataTypes.STRING(255),comment:''}, 
bak3:{type: DataTypes.STRING(255),comment:''}, 
ctime:{type: DataTypes.STRING(20),comment:''}, 

}, {
    tableName: 'ver',
    timestamps: false,
    comment: 'app版本',
    
});